﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace S5230WallpaperCreator
{
    /// <summary>
    /// 
    /// </summary>
    public partial class CustomModeForm : Form
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CustomModeForm"/> class.
        /// </summary>
        public CustomModeForm()
        {
            InitializeComponent();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {

        }

        private void buttonOK_Click(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// Gets the size.
        /// </summary>
        /// <returns></returns>
        public Size GetSize()
        {
            return new Size((int)numericUpDownWidth.Value, (int)numericUpDownHeight.Value);
        }

        /// <summary>
        /// Sets the size.
        /// </summary>
        /// <param name="size">The size.</param>
        public void SetSize(Size size)
        {
            numericUpDownWidth.Value = size.Width;
            numericUpDownHeight.Value = size.Height;
        }

        private void CustomModeForm_Load(object sender, EventArgs e)
        {

        }
    }
}
